package cn.itcast.nems.studentrecord.dao.mapper;

import cn.itcast.nems.studentrecord.dao.dataobject.ReceivableAdjustmentDO;
import cn.itcast.nems.studentrecord.dao.entity.ReceivableAdjustment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ReceivableAdjustmentMapper extends BaseMapper<ReceivableAdjustment> {

    /**
     * 根据条件分页查询
     *
     * @param page     分页参数
     * @param recordDO 查询条件
     * @return 分页查询结果
     * @author 高昌露
     * @since 2023/11/22 14:02
     */
    IPage<ReceivableAdjustmentDO> findPageList(Page<ReceivableAdjustmentDO> page, @Param("param") ReceivableAdjustmentDO recordDO);

}
